<%@ page contentType="text/html; charset=UTF-8"%>
<%@taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="com.bosch.in.rtp1.ept.constant.FXFactorConstant;"%>
<link href="css/modifiedJUI.css" type="text/css" rel="stylesheet"></link>
<script type="text/javascript" src="js/login.js"></script>

<form name="loginForm" action="login.do" method="POST">
<div id="filterHeader" class="ui-jqgrid ui-widget ui-corner-all">
	<div class = "ui-jqgrid-view">
		<div class="ui-jqgrid-titlebar ui-widget-header ui-corner-top ui-helper-clearfix">
				<span class="ui-jqgrid-title">Password Authentication</span>
		</div>
	</div>
</div>
<table width="100%" border="0" class="box">
	<tbody>
		<tr>
			<td colspan="5">
				<c:choose>
				<c:when test="${loginForm.error == true}">
					<div id="error-message" title="Error" style="display:inline-block;font-size: 13px;color: red; font-weight: bolder;">
        				Wrong input password, please try again !!!
					</div>
				</c:when>
				
				<c:otherwise>
					<span style="display:inline-block;font-size: 13px;font-weight:bolder;">Please provide password to access configuration page</span>
				</c:otherwise>
				</c:choose>
			</td>
		</tr>
		<tr height="10px"></tr>
		<tr>
				<td width="100px;" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px; width: 100%">Password</span>
				</td>
				<td width="5px" nowrap="nowrap"> 
					<span style="display:inline-block;font-size: 11px;">:</span>
				</td>
				
				<td width="120px">
					<html:password name="loginForm" property="password" style="width:100%"></html:password>
				</td>
				<td width="20px" >
				</td>
				<td nowrap="nowrap">
					<a class="bosch_button_style" href="javascript:document.loginForm.submit();">Login</a>
				</td>
				
		</tr>
	</tbody>
</table>
<html:hidden name="loginForm" property="originalUrl"></html:hidden>
</form>

